package io.renren.modules.substation.dao;

import io.renren.modules.substation.entity.TInfoEfencePointEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 围柱坐标表
 * 
 * @author yzx
 * @email sunlightcs@gmail.com
 * @date 2020-07-16 01:02:14
 */
@Mapper
public interface TInfoEfencePointDao extends BaseMapper<TInfoEfencePointEntity> {
    List<TInfoEfencePointEntity>  getByDevCode(String devCode);
    TInfoEfencePointEntity getByPostCodeAndDevCode(TInfoEfencePointEntity tInfoEfencePointEntity);
    int updateByPostCodeAndDevCode(TInfoEfencePointEntity tInfoEfencePointEntity);
    int updatePnByPostCode(TInfoEfencePointEntity tInfoEfencePointEntity);
    boolean removeBydevCode(String devCode);
}
